<template>
  <div>
    <div class="c-steps">...代码省略</div>
    <!-- <scroll-bar ref="scrollBar"></scroll-bar> -->
  </div>
</template>

<script>
// import ScrollBar from "@/components/scrollBar.vue";
export default {
  // components: { ScrollBar },
  mounted() {},
  methods: {
    getTargetEle() {
      return document.getElementsByClassName("c-steps")[0];
    },
    resizeFun() {
      this.$refs.scrollBar?.addScrollEvent(this.getTargetEle());
    },
  },
};
</script>

<style lang="scss" scoped>
</style>